package com.lagou.pojo;

import com.lagou.enumconfig.SqlTypeEnum;

public class MappedStatement {

    //id标识
    private String id;

    //返回值类型
    private String resultType;

    //参数值类型
    private String paramterType;

    //sql
    private String sql;

    //sql Type
    private SqlTypeEnum sqlTypeEnum;

    public MappedStatement() {
    }

    public MappedStatement(String id, String resultType, String paramterType, String sql, SqlTypeEnum sqlTypeEnum) {
        this.id = id;
        this.resultType = resultType;
        this.paramterType = paramterType;
        this.sql = sql;
        this.sqlTypeEnum = sqlTypeEnum;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getResultType() {
        return resultType;
    }

    public void setResultType(String resultType) {
        this.resultType = resultType;
    }

    public String getParamterType() {
        return paramterType;
    }

    public void setParamterType(String paramterType) {
        this.paramterType = paramterType;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public SqlTypeEnum getSqlTypeEnum() {
        return sqlTypeEnum;
    }

    public void setSqlTypeEnum(SqlTypeEnum sqlTypeEnum) {
        this.sqlTypeEnum = sqlTypeEnum;
    }
}
